package net.easoftware.code.beans;

public class Constantes {

    public static final Integer DESPACHO_PENDIENTE = Integer.valueOf(1);
    public static final Integer DESPACHO_PROCESADO = Integer.valueOf(0);
    public static final Integer BONIFICACION_PENDIENTE = Integer.valueOf(2);
    public static final Integer BONIFICACION_CANCELADA = Integer.valueOf(0);
    public static final Integer BONIFICACION_PROCESADA = Integer.valueOf(1);
    public static final Integer SIN_ESTADO = Integer.valueOf(9999);
    public static final Integer FACTURA_PENDIENTE = Integer.valueOf(1);
    public static final Integer FACTURA_CANCELADA = Integer.valueOf(3);
    public static final Integer FACTURA_PROCESADA = Integer.valueOf(0);
    public static final Integer FACTURA_APROBADA = Integer.valueOf(2);
    public static final Integer NC_PENDIENTE = Integer.valueOf(1);
    public static final Integer NC_PROCESADA = Integer.valueOf(2);
    public static final String PATH_REPORTES_CFG = getValor("WEBMERESAPORTAL_REPORTS_CFG");
    public static final String PATH_REPORTES_REP = getValor("WEBMERESAPORTAL_REPORTS_REP");
    public static final String PATH_PATH_UPLOADED_FILE = getValor("WEBMERESAPORTAL_PATH_UPLOAD");

    public static String getValor(String key) {
        String valor = System.getProperty(key);
        return valor;
    }
}
